package com.gzsxy.esjy.sign.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author zhangxiaolong
 * @since 2022/7/15
 */
@Getter
@Setter
public class SignException extends RuntimeException {
    private Integer code;

    public SignException(String msg) {
        super(msg);
        this.code = 400;
    }

    public SignException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }
}
